package ntd.util.modular.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.util.metadata.NtdField;



@EqualsAndHashCode(callSuper = true)
@TableName("data_acquisition_records")
@Data

@Schema(description = "数据中心 - 采集数据记录")
public class DataAcquisitionRecords extends BaseEntityMybatis<DataAcquisitionRecords> {

    @Schema(description = "所属机构", title = "所属机构")
    @NtdField(type = 6, oneModular = "common", twoModular = "mechanism")
    private String tenantId;
    @Schema(description = "数据规则", title = "数据规则")
    @NtdField(type = 6, oneModular = "data", twoModular = "acquisition-rule")
    private String dataAcquisitionRuleId;
    @Schema(description = "数据内容", title = "数据内容")
    private String content;
    @Schema(description = "请求参数", title = "请求参数")
    private String requestParams;
    @Schema(description = "请求header", title = "请求header")
    private String requestHeader;
    @Schema(description = "请求路径", title = "请求路径")
    private String requestUrl;
    @Schema(description = "备注信息", title = "备注信息")
    private String remark;

}
